package com.leo.foodmaster.admin.recipe.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.leo.foodmaster.commons.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.experimental.Accessors;

/**
 * 菜品类型
 *
 * @author Leo
 * @since 1.0.0 2021-10-29
 */
@Data
@ApiModel(value = "菜品类型")
@Accessors(chain = true)
public class RecipeTypeDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "名称")
    @Excel(name = "名称")
    private String name;

    /**
     * 所属公司Id
     */
    @ApiModelProperty(value = "所属公司Id")
    private Long organId;
    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者")
    private String creator;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    /**
     * 修改者
     */
    @ApiModelProperty(value = "修改者")
    private String updateUser;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;
            
}
